package com.bzkj.basicinfo.domain.basic.vo;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author swj
 * @desc wms单据打印Vo（所有单据打印共用一个）
 */
@Data
public class WmsBillReportVo implements Serializable {
    private static final long serialVersionUID = 1L;
    //=================================公共字段===================================
    private Long id; //id
    private String ctrantypeid;//ncc单据类型
    private String vtrantypecode;//ncc出入库类型编码
    private String fbillflag;//ncc_单据状态(1:删除，2：自由，3：签字，4：审核，5：审核中，6：审核不通过，7：已调差状态）
    private Date dmakedate;//ncc单据制单日期
    private String cgeneralhid;//ncc入库单主键
    private BigDecimal ntotalnum;//ncc单据总数量
    private String corpoidCode;//ncc公司信息编码
    private String creatorCode;//ncc创建人编码
    private Date creationtime;//ncc创建时间
    private String modifierCode;//ncc最后修改人编码
    private Date modifiedTime;//ncc最后修改时间
    private Integer billsFlag;//wms单据标识(1:删除，2：自由，3：签字，4：审核，5：审核中，6：审核不通过，7：已调差状态）
    private Integer billsState;//wms单据状态（未收货：0，已收货：1,已验收：2,已上架：3，已删除：9）
    private Date dbilldate;//单据日期
    private String vbillcode;//ncc入库单据号
    private String creatorName;//ncc创建人
    private String creatorPk;//ncc主键
    private String billmakerCode;//制单人编码
    private String modifierName;//ncc最后修改人名称
    private String modifierPk;//ncc最后修改人主键
    private String dateTimeFlag;//删除操作时间戳
    private BigDecimal ntotalpiece;//总件数
    private String billmakerName;//ncc制单人名称
    private String billmakerPk;//ncc制单人主键
    private String cwarehouseidCode;//ncc仓库编码
    private String cwarehouseidName;//ncc仓库名称
    private String cwarehouseidPk;//ncc仓库主键
    private String vdef49;//wms单据号（新增）
    private String vdef50;//wms单据号唯一标识
    private String vnote;//ncc备注
    private String def1;
    private String def2;
    private String def3;
    private String def4;
    private String def5;
    private String def9;
    private Date wmsTime;//wms创建时间
    private String updateBy;//更新人
    private String createBy;//创建人
    private Date updateTime;//更新时间
    private String signatory;//签字人
    private Date signatoryTime;//签字时间
    private String cdptidCode;//ncc采购部门编码
    private BigDecimal ntotalvolume; //ncc总体积
    private BigDecimal ntotalweight;//ncc总重量
    private String cdptidName;//ncc采购部门名称
    private String cdptidPk;//ncc采购部门id
    private Long userId;//wms创建人
    private Long deptId;//wms部门
    private String cwhsmanageridCode;//ncc库管员编码
    private String cwhsmanageridName;//ncc库管员名称
    private String cwhsmanageridPk;//ncc库管员主键
    private BigDecimal nshouldassistnum;//ncc应收数量
    private BigDecimal nshouldnum;//ncc应收主数量
    private String vchangerate;//ncc换算系数
    private String cmaterialoidCode;//ncc物料商品id
    private BigDecimal nassistnum;//ncc实收数量
    private BigDecimal nnum;//ncc实收主数量
    private String castunitidCode;//ncc单位
    private String cunitidCode;//ncc主单位
    private Integer crowno;//ncc行号
    private String cstateid;//ncc物料状态
    private String vsourcebillcode;//采购订单号、ncc来源单据号
    private String dproducedate;//生产日期
    private String dvalidate;//有效期
    private String dbizdate;//ncc入库日期
    private String cvendoridCode;//ncc供应商code
    private String cproductoridCode;//生产企业code
    private String cproductoridName;//生产企业名称
    private String cproductoridPk;//生产企业id
    private Integer skuState;//当前行状态
    private Integer skuFlag;//当前行标识
    private String cmaterialoidName;
    private String cmaterialoidPk;
    private String castunitidName;//ncc单位名称
    private String castunitidPk;//ncc单位主键
    private String cunitidName;//ncc主单位名称
    private String cunitidPk;//ncc主单位主键
    private String cvendoridName;//供应商名称
    private String cvendoridPk;//供应商主键
    private String stoId;
    private String parentClassId;
    private String stuClassId;
    private String cmaterialvidCode;
    private String cmaterialvidName;
    private String cmaterialvidPk;
    private String vapprovalnumber148;//批准文号
    private String csourcetype;//ncc来源单据类型
    private String csourcetranstype;//ncc来源单据交易类型
    private String csourcebillhid;//ncc来源单据主键
    private String csourcebillbid;//ncc来源单据表体主键
    private String pkBatchcode;//ncc批次主键
    private String vbatchcode;//ncc批次
    private BigDecimal nvolume;//体积
    private BigDecimal nweight;//重量
    private String materialspec;//规格

    //=================================【wms_warehouse_in_other】 其他入库单数据表字段===================================
    private String pkOrgVCode;
    private String pkOrgVName;
    private String pkOrgVPk;
    private String corpoidName;
    private String corpoidPk;
    private String cdptvidCode;
    private String cdptvidName;
    private String cdptvidPk;

    //=================================【wms_warehouse_in_detail_other】 其他入库单详情数据表字段===================================
    private String warehousetype;
    private String cbodytranstypecode;
    private String bhasiabill;
    private String cbodywarehouseidCode;
    private String cbodywarehouseidName;
    private String cbodywarehouseidPk;
    private String cgeneralbid;
    private String vvendbatchcode;//供应商批号
    private String vbcdef1;
    private String vbcdef4;
    private String vbcdef5;
    private String vbcdef48;

    //=================================【wms_warehouse_in_product】 产成品入库单数据表字段===================================
    private String cprocalbodyoidCode;//ncc生产库存组织
    private String cprowarehouseidCode;//ncc生产仓库
    private String cprowarehouseidName;
    private String cprowarehouseidPk;
    private String cprocalbodyoidName;
    private String cprocalbodyoidPk;
    private String vdef1Code;//生产成本项目
    private String vdef1Name;
    private String vdef1Pk;
    private String drequiredate;//需求日期

    //=================================【wms_warehouse_in_detail_product】 产成品入库单详情数据表字段===================================
    private String cproductidCode;//ncc主产品id
    private String vbatchcodenote;//自定义批次
    private String vbdef48;//复验期
    private String vbdef49;//货架期
    private String vbdef50;//ncc自定义表体
    private String operator;//操作人
    private Date operatorTime;//操作时间
    private String cproductidName;
    private String cproductidPk;
    private String vbdef19Code;
    private String vbdef19Name;
    private String vbdef19Pk;
    private String vlotno148;//产品批号
    private String pkHolder148Pk;//持有人注册人
    private String pkHolder148Code;
    private String pkHolder148Name;

    //=================================【wms_warehouse_in_material】 采购入库单数据表字段===================================
    private String cfanaceorgvidCode;//ncc结算财务组织code
    private String cbizidCode;//ncc采购员编码
    private String fbuysellflag;//ncc购销类型
    private String freplenishflag;//ncc采购退库
    private String vdef1;
    private String vdef2;
    private String vdef3;
    private String vdef4;
    private String vdef5;//OA合同号
    private String vdef6;
    private String vdef7;
    private String vdef8;
    private String vdef9;
    private String vdef10;
    private String vdef11;
    private String vdef12;
    private String vdef13;
    private String vdef14;
    private String vdef15;
    private String vdef16;
    private String vdef17;
    private String vdef18;
    private String vdef19;
    private String vdef20;
    private String vdef21;
    private String vdef45;
    private String vdef46;
    private String vdef47;
    private String vdef48;
    private String remarks1;
    private String remarks2;
    private Date tsTime;//更新时间
    private String cpurorgoidCode;//采购组织code
    private String cpurorgvidCode;//采购组织最新版本code
    private String cfanaceorgvidName;//ncc财务结算组织名称
    private String cfanaceorgvidPk;//ncc财务结算组织id
    private String cdpzidName;//ncc采购员名称
    private String cdpzidPk;//ncc采购员主键
    private String cdpoidName;//ncc公司信息名称
    private String cdpoidPk;//ncc公司信息主键
    private String cpuorgoidName;//ncc采购组织名称
    private String cpuorgoidPk;//ncc采购组织主键
    private String cpuorgvidName;
    private String cpuorgvidPk;
    private Date createTime;//wms创建时间
    private Integer iscross;//是否越库：0：正常，1：越库
    private String vbcdef2;//供应商代码
    private String vbcdef3;//包材版本

    //=================================【wms_warehouse_out_product】 产成品出库单数据表字段===================================
    private String creceivfinorgoidCode;//ncc应收财务组织
    private String csaleorgoidCode;//ncc销售企业
    private String ccustomeridCode;//ncc客户id
    private String ccustomername;//ncc客户名称
    private String creceivfinorgoidName;//
    private String creceivfinorgoidPk;//
    private String csaleorgoidName;//
    private String csaleorgoidPk;//
    private String ccustomeridName;//
    private String ccustomeridPk;//
    private String ccustomercode;//
    private String isCross;//
    private String senderName;//物流企业
    private String tmsState;//tms回传状态

    //=================================【wms_warehouse_out_detail_product】 产成品出库单详情数据表字段===================================
    private BigDecimal nitemdiscountrate;//单品折扣
    private BigDecimal norigtaxprice;//主含税单价
    private BigDecimal norigtaxmny;//价税合计
    private BigDecimal nmny;//本币无税金
    private BigDecimal ntaxmny;//本币价税合计
    private BigDecimal ntax;//税额
    private String cfirstbilldate;//ncc出库日期

    //=================================【wms_warehouse_out_detail_other】 其他出库单详情数据表字段===================================
    private String pkLotno148Code;
    private String pkLotno148Name;
    private String pkLotno148Pk;
    private Date ts;
    private String corpvidCode;
    private String corpvidName;
    private String corpvidPk;
    private String pkOrgCode;
    private String pkOrgName;
    private String pkOrgPk;

    //=================================【wms_warehouse_out_detail_material】 非产成品出库单详情数据表字段===================================
    private String vbdef2Code;
    private String vbdef2Name;
    private String vbdef2Pk;
    private String vbdef1Code;
    private String vbdef1Name;
    private String vbdef1Pk;

    //=================================【wms_movement_order】 转库单数据表字段===================================
    private String cotherdptvidCode;//ncc入库部门
    private String cotherwhidCode;//ncc入库仓库
    private String cotherbizidCode;//ncc入库业务员
    private String wdef1;
    private String wdef2;
    private String wdef3;
    private String wdef4;
    private String wdef5;
    private String cotherdptvidName;
    private String cotherdptvidPk;
    private String cotherwhidName;
    private String cotherwhidPk;
    private String cotherbizidName;
    private String cotherbizidPk;
    private String cbizidName;
    private String cbizidPk;
    private String transType;//转库类型
    private String transMode;//转库模式（0：同步NCC，1：不同步NCC）

    //=================================【wms_movement_order_detail】 转库单详情数据表字段===================================
    private String cspecialbid;
    private String cspecialhid;
    private String casscustidCode;
    private String casscustidName;
    private String casscustidPk;
    private String clocationidCode;
    private String clocationidName;
    private String clocationidPk;
    private String ctplcustomeridCode;
    private String ctplcustomeridName;
    private String ctplcustomeridPk;
    private String cvmivenderidCode;
    private String cvmivenderidName;
    private String cvmivenderidPk;
    private String vinvaliddate148;
    private String dproductdate148;
    private String vbdef2;
    private String vbdef1;
    private String gmpCode;
    private String spec;
    private String type;

}
